package com.skyworth.web.wechat.repository;

import com.skyworth.web.wechat.entity.AccessTokenModel;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by yuhaichao on 2016/8/24.
 */
public interface AccessTokenRepository extends CrudRepository<AccessTokenModel,String> {

    /*@Modifying
    @Query(value = "replace into ff_access_token values(?1,?2,?3)",nativeQuery = true)
    public void saveToken(String appId,String appSecret,String accessToken);*/
}
